package com.carbon.common.enums;

/**
 * 飞书事件审批定义枚举
 * @author LJX
 * @since 2024-08-16
 */
public enum ApprovalCodeEnum {

    ASSETS_APPROVAL("D9EBC406-963B-46B5-9557-75BD53984C8D", "资产上传审批"),  //在飞书网站中创建审批后 可以将对应的审批code替换为左侧声明的code
    TRADE_ACCOUNT_APPROVAL("3B20712A-A74D-4617-BE3E-0C0B9DA8B078", "添加交易账户审批"),
    PROJECT_INITIATION_APPROVAL("E89E6483-676D-47F1-8955-7124166AD336", "项目立项审批"),
    QUOTA_APPROVAL("F88BEB9F-8411-4F7E-9606-0EDC0E3D5333","碳配额审批");
    ;

    private String code;
    private String title;

    private ApprovalCodeEnum(String code, String title) {
        this.code = code;
        this.title = title;
    }

    ApprovalCodeEnum() {
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return title;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setMessage(String message) {
        this.title = message;
    }
}
